const {
  DataTypes
} = require('sequelize');

module.exports = sequelize => {
  const attributes = {
    Id: {
      type: DataTypes.INTEGER,
      allowNull: false,
      defaultValue: null,
      primaryKey: true,
      autoIncrement: true,
      comment: null,
      field: "Id"
    },
    RoleName: {
      type: nvarchar(255),
      allowNull: true,
      defaultValue: null,
      primaryKey: false,
      autoIncrement: false,
      comment: null,
      field: "RoleName"
    },
    UserName: {
      type: nvarchar(255),
      allowNull: true,
      defaultValue: null,
      primaryKey: false,
      autoIncrement: false,
      comment: null,
      field: "UserName"
    }
  };
  const options = {
    tableName: "siteserver_AdministratorsInRoles",
    comment: "",
    indexes: []
  };
  const SiteserverAdministratorsInRolesModel = sequelize.define("siteserver_AdministratorsInRoles_model", attributes, options);
  return SiteserverAdministratorsInRolesModel;
};